(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 11.3' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     12079,        286]
NotebookOptionsPosition[     11487,        269]
NotebookOutlinePosition[     11844,        285]
CellTagsIndexPosition[     11801,        282]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[{
 RowBox[{
  RowBox[{
   RowBox[{"dlladdress", "=", 
    RowBox[{
     RowBox[{"NotebookDirectory", "[", "]"}], "<>", 
     "\"\<x64/Release/iodata.dll\>\""}]}], ";"}], "\[IndentingNewLine]", 
  RowBox[{
  "(*", " ", "dll\:5e93\:7684\:5730\:5740", " ", 
   "*)"}]}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"(*", 
   RowBox[{
   "\:6ce8\:610f", "\:ff0c", 
    "\:5730\:5740\:5185\:4e0d\:80fd\:5305\:542b\:4e2d\:6587", ",", 
    "\:82e5\:6587\:4ef6\:5939\:4ee5\:4e2d\:6587\:547d\:540d\:4f1a\:51fa\:9519\
\:8bef"}], "*)"}]}]}], "Input",
 CellChangeTimes->{{3.73216712972129*^9, 3.7321672270784993`*^9}, 
   3.7321673132394714`*^9, 3.7348302083462377`*^9, {3.7393501758631268`*^9, 
   3.7393501764153805`*^9}, {3.739350215442043*^9, 
   3.739350234967987*^9}},ExpressionUUID->"fc713bd0-bdd1-47af-a095-\
42482e05f762"],

Cell[BoxData[
 RowBox[{"\[IndentingNewLine]", 
  RowBox[{
   RowBox[{
    RowBox[{"VideoDataRead", "=", 
     RowBox[{"LibraryFunctionLoad", "[", 
      RowBox[{"dlladdress", ",", "\"\<VideoDataRead\>\"", ",", 
       RowBox[{"{", 
        RowBox[{"\"\<UTF8String\>\"", ",", 
         RowBox[{"{", 
          RowBox[{"Integer", ",", "1"}], "}"}], ",", "Integer"}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"Integer", ",", "_"}], "}"}]}], "]"}]}], ";"}], 
   "\[IndentingNewLine]", 
   RowBox[{"(*", " ", "\:51fd\:6570\:52a0\:8f7d", " ", "*)"}]}]}]], "Input",
 CellChangeTimes->{{3.7321672573508244`*^9, 3.7321673204006643`*^9}, 
   3.7348300232041855`*^9},
 CellLabel->"In[8]:=",ExpressionUUID->"e0af29f6-1a87-4bee-bc01-2fabe0f5f650"],

Cell[BoxData[{
 RowBox[{"VideoDataRead", "[", 
  RowBox[{
   RowBox[{
    RowBox[{"NotebookDirectory", "[", "]"}], "<>", "\"\<2018-6-30\>\""}], ",", 
   RowBox[{"{", 
    RowBox[{"3", ",", "6"}], "}"}], ",", "20000000"}], 
  "]"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"(*", 
   RowBox[{
   "\:6ce8\:610f", "\:ff0c", 
    "\:5730\:5740\:5185\:4e0d\:80fd\:5305\:542b\:4e2d\:6587", ",", 
    "\:82e5\:6587\:4ef6\:5939\:4ee5\:4e2d\:6587\:547d\:540d\:4f1a\:51fa\:9519\
\:8bef"}], "*)"}]}]}], "Input",
 CellChangeTimes->{{3.7321673233529215`*^9, 3.7321677471989913`*^9}, {
   3.732167821696864*^9, 3.7321678582866273`*^9}, {3.7321678888017893`*^9, 
   3.7321679154352865`*^9}, {3.7321679554973545`*^9, 3.732168336868788*^9}, {
   3.7321694839658813`*^9, 3.732169489343811*^9}, {3.7348300499369802`*^9, 
   3.734830084998059*^9}, {3.734830219141446*^9, 3.734830234465931*^9}, {
   3.739350115548448*^9, 3.7393501495434303`*^9}, 
   3.739350240554093*^9},ExpressionUUID->"2a63592d-2fce-4e3b-b842-\
7f556151e89c"],

Cell[BoxData[
 RowBox[{"(*", " ", "\[IndentingNewLine]", " ", 
  RowBox[{
   RowBox[{
   "VideoDataRead", " ", "\:51fd\:6570", "\[IndentingNewLine]", 
    "\[IndentingNewLine]", 
    RowBox[{"\:529f\:80fd", ":", " ", 
     RowBox[{
     "\:8bfb\:53d6\:4e8c\:8fdb\:5236\:6587\:4ef6\:4e2d\:7684\:6570\:636e", 
      "\[IndentingNewLine]", "\[IndentingNewLine]", "\:8f93\:5165"}], ":", 
     " ", "\:7b2c\:4e00\:4e2a\:53c2\:6570\:4e3a\:5b57\:7b26\:4e32"}]}], 
   "\:ff0c", 
   RowBox[{
   "\:8868\:793a\:5f85\:8bfb\:53d6\:4e8c\:8fdb\:5236\:6587\:4ef6\:7684\:5b8c\
\:6574\:5730\:5740", "\[IndentingNewLine]", "     ", 
    "\:7b2c\:4e8c\:4e2a\:53c2\:6570\:4e3a\:6574\:6570\:5217\:8868"}], 
   "\:ff0c", 
   "\:8868\:793a\:8bfb\:53d6\:89c6\:9891\:4e2d\:9700\:8981\:5305\:542b\:7684\
\:6570\:636e\:9879", "\:ff0c", 
   RowBox[{
   "\:89c1\:4e0b\:9762\:7684\:89e3\:91ca", "\[IndentingNewLine]", "      ", 
    "\:7b2c\:4e09\:4e2a\:53c2\:6570\:540c\:4e3a\:6700\:5927\:5206\:914d\:5185\
\:5b58\:53c2\:6570"}], "\:ff0c", 
   "\:4f46\:662f\:4e0e\:4e0a\:9762\:7684\:542b\:4e49\:4e0d\:540c", "\:ff0c", 
   RowBox[{
   "\:53ea\:9700\:6bd4\:603b\:73b0\:5b58\:7a3f\:4ef6\:6570\:5927\:5c31\:884c\
\:4e86", "\[IndentingNewLine]", "\[IndentingNewLine]", 
    "\:5173\:4e8e\:7b2c\:4e8c\:4e2a\:53c2\:6570\:7684\:89e3\:91ca"}], 
   "\:ff1a", "\[IndentingNewLine]", 
   RowBox[{
    RowBox[{
    "\:6ee1\:8db3\:4ee5\:4e0b\:5bf9\:5e94\:89c4\:5219", "\[IndentingNewLine]",
      "1"}], " ", "->", " ", 
    RowBox[{
     RowBox[{"\:89c6\:9891\:7f16\:53f7", "\[IndentingNewLine]", "2"}], " ", "->",
      " ", 
     RowBox[{
      RowBox[{"\:4e0a\:4f20\:8005\:7f16\:53f7", "\[IndentingNewLine]", "3"}], 
      " ", "->", " ", 
      RowBox[{
       RowBox[{"\:6295\:7a3f\:65f6\:95f4", "\[IndentingNewLine]", "4"}], " ", 
       "->", " ", 
       RowBox[{
        RowBox[{"\:89c6\:9891\:65f6\:957f", "\[IndentingNewLine]", "51"}], 
        " ", "->", " ", 
        RowBox[{
         RowBox[{"\:5206P\:6570", "\[IndentingNewLine]", "52"}], " ", "->", 
         " ", 
         RowBox[{
          RowBox[{"\:5206\:533a\:7f16\:53f7", "\[IndentingNewLine]", "53"}], 
          " ", "->", " ", 
          RowBox[{
           RowBox[{
           "\:539f\:521b\:4e3a0\:642c\:8fd0\:4e3a1", "\[IndentingNewLine]", 
            "54"}], " ", "->", " ", 
           RowBox[{
            RowBox[{"\:672a\:77e5", "\[IndentingNewLine]", "6"}], " ", "->", 
            " ", 
            RowBox[{
             RowBox[{"\:64ad\:653e\:6570", "\[IndentingNewLine]", "7"}], " ", 
             "->", " ", 
             RowBox[{
              RowBox[{"\:5f39\:5e55\:6570", "\[IndentingNewLine]", "8"}], " ",
               "->", " ", 
              RowBox[{
               RowBox[{"\:786c\:5e01\:6570", "\[IndentingNewLine]", "9"}], 
               " ", "->", " ", 
               RowBox[{
                RowBox[{"\:6536\:85cf\:6570", "\[IndentingNewLine]", "10"}], 
                " ", "->", " ", 
                RowBox[{
                 RowBox[{"\:5206\:4eab\:6570", "\[IndentingNewLine]", "11"}], 
                 " ", "->", " ", 
                 RowBox[{
                  RowBox[{"\:8bc4\:8bba\:6570", "\[IndentingNewLine]", "12"}],
                   " ", "->", " ", 
                  RowBox[{
                   RowBox[{
                   "\:70b9\:8d5e\:6570", "\[IndentingNewLine]", "13"}], " ", "->",
                    " ", 
                   RowBox[{
                   "\:5dee\:8bc4\:6570", "\[IndentingNewLine]", 
                    "\[IndentingNewLine]", 
                    "\:8f93\:51fa"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], 
   "\:ff1a", 
   RowBox[{
   "\:4e8c\:9636\:6574\:6570\:5217\:8868", "\[IndentingNewLine]", 
    "\[IndentingNewLine]", " ", 
    "\:6211\:4eec\:8bfb\:7684\:662f\:521a\:624dGetData\:751f\:6210\:7684\:4e8c\
\:8fdb\:5236\:6587\:4ef6"}], "\:ff0c", 
   RowBox[{"\:5982\:679c20000000", 
    RowBox[{"\:ff08", "\:603b\:73b0\:5b58\:7a3f\:4ef6\:6570", "\:ff09"}], 
    "\:4e0d\:591f\:5219\:8c03\:5927", "\[IndentingNewLine]", 
    "\[IndentingNewLine]", "\:5bf9\:4e8e\:4e0a\:9762\:7684\:4f8b\:5b50"}], 
   "\:ff0c", "\:7531\:4e8e3\:5bf9\:5e94\:6295\:7a3f\:65f6\:95f4", "\:ff0c", 
   RowBox[{"6", "\:5bf9\:5e94\:64ad\:653e\:6570"}], "\:ff0c", 
   RowBox[{
   "\:90a3\:4e48\:6700\:7ec8\:7684\:8f93\:51fa\:4e3a", "\[IndentingNewLine]", 
    RowBox[{"\:ff5b", "\[IndentingNewLine]", 
     RowBox[{
      RowBox[{"\:ff5b", 
       RowBox[{
       "\:7b2c1\:4e2a\:89c6\:9891\:7684\:6295\:7a3f\:65f6\:95f4", "\:ff0c", 
        "\:7b2c1\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570"}], "\:ff5d"}], 
      ",", "\[IndentingNewLine]", 
      RowBox[{"\:ff5b", 
       RowBox[{
       "\:7b2c2\:4e2a\:89c6\:9891\:7684\:6295\:7a3f\:65f6\:95f4", "\:ff0c", 
        "\:7b2c2\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570"}], "\:ff5d"}], 
      ",", "\[IndentingNewLine]", 
      RowBox[{"\:ff5b", 
       RowBox[{
       "\:7b2c3\:4e2a\:89c6\:9891\:7684\:6295\:7a3f\:65f6\:95f4", "\:ff0c", 
        "\:7b2c3\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570"}], "\:ff5d"}], 
      ",", "\[IndentingNewLine]", 
      RowBox[{"...", "\[IndentingNewLine]", 
       RowBox[{"\:ff5b", 
        RowBox[{
        "\:6700\:540e\:4e00\:4e2a\:89c6\:9891\:7684\:6295\:7a3f\:65f6\:95f4", 
         "\:ff0c", 
         "\:6700\:540e\:4e00\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570"}], 
        "\:ff5d"}]}]}], "\[IndentingNewLine]", "\:ff5d"}], 
    "\[IndentingNewLine]", "\[IndentingNewLine]", 
    "\:4e4b\:6240\:4ee5\:8fd9\:4e48\:8bbe\:8ba1\:662f\:4e3a\:4e86\:8282\:7701\
\:5185\:5b58"}], "\:ff0c", 
   "\:5982\:679c\:4f60\:8981\:8bfb\:53d6\:5168\:90e8\:6570\:636e", "\:ff0c", 
   RowBox[{"\:5c31\:662f", "\[IndentingNewLine]", 
    RowBox[{"VideoDataRead", "[", 
     RowBox[{
      RowBox[{
       RowBox[{"NotebookDirectory", "[", "]"}], "<>", "\"\<2018-6-30\>\""}], 
      ",", 
      RowBox[{"{", 
       RowBox[{
       "1", ",", "2", ",", "3", ",", "4", ",", "51", ",", "52", ",", "53", 
        ",", "54", ",", "6", ",", "7", ",", "8", ",", "9", ",", "10", ",", 
        "11", ",", "12"}], "}"}], ",", "20000000"}], "]"}], 
    "\[IndentingNewLine]", "\[IndentingNewLine]", 
    "\:5982\:679c\:53ea\:5bf9\:4e00\:9879\:6570\:636e\:611f\:5174\:8da3"}], 
   "\:ff0c", 
   RowBox[{
   "\:6bd4\:5982\:64ad\:653e\:6570", "\[IndentingNewLine]", 
    "\[IndentingNewLine]", 
    RowBox[{"VideoDataRead", "[", 
     RowBox[{
      RowBox[{
       RowBox[{"NotebookDirectory", "[", "]"}], "<>", "\"\<2018-6-30\>\""}], 
      ",", 
      RowBox[{"{", "6", "}"}], ",", "20000000"}], "]"}], 
    "\[IndentingNewLine]", "\[IndentingNewLine]", 
    "\:6700\:540e\:9700\:8981\:505aFlatten\:64cd\:4f5c"}], "\:ff0c", 
   RowBox[{"\:56e0\:4e3a\:8fd4\:56de\:7684\:662f", "\[IndentingNewLine]", 
    RowBox[{"\:ff5b", "\[IndentingNewLine]", 
     RowBox[{
      RowBox[{
      "\:ff5b", "\:7b2c1\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570", 
       "\:ff5d"}], ",", "\[IndentingNewLine]", 
      RowBox[{
      "\:ff5b", "\:7b2c2\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570", 
       "\:ff5d"}], ",", "\[IndentingNewLine]", 
      RowBox[{
      "\:ff5b", "\:7b2c3\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570", 
       "\:ff5d"}], ",", "\[IndentingNewLine]", 
      RowBox[{"...", "\[IndentingNewLine]", 
       RowBox[{
       "\:ff5b", 
        "\:6700\:540e\:4e00\:4e2a\:89c6\:9891\:7684\:64ad\:653e\:6570", 
        "\:ff5d"}]}]}], "\[IndentingNewLine]", "\:ff5d"}], 
    "\[IndentingNewLine]", "\:591a\:4e86\:4e00\:91cd\:62ec\:53f7"}]}], 
  "\[IndentingNewLine]", "\[IndentingNewLine]", "*)"}]], "Input",
 CellChangeTimes->{{3.732168366807485*^9, 3.7321683879654946`*^9}, {
  3.732168460436823*^9, 3.7321685042017503`*^9}, {3.7321685418605547`*^9, 
  3.732168681827449*^9}, {3.732168733365339*^9, 3.732168789597686*^9}, {
  3.7321688565648155`*^9, 3.7321688946178856`*^9}, {3.732168971923645*^9, 
  3.7321689749752784`*^9}, {3.7321690551681805`*^9, 3.732169266521139*^9}, {
  3.7321693074723463`*^9, 3.732169467157052*^9}, {3.7321695087635098`*^9, 
  3.732169872299734*^9}, {3.7321702106523886`*^9, 3.7321702116834574`*^9}, {
  3.7348300942972703`*^9, 3.73483011163785*^9}, {3.7348327630242662`*^9, 
  3.7348327657731028`*^9}, {3.738677149879278*^9, 3.738677156091444*^9}, {
  3.7393502514872866`*^9, 
  3.7393502969013157`*^9}},ExpressionUUID->"e4d72a2d-fb4a-4b02-b1df-\
d764ca5ceb9a"]
},
WindowSize->{1280, 637},
WindowMargins->{{-8, Automatic}, {Automatic, -8}},
FrontEndVersion->"11.3 for Microsoft Windows (64-bit) (2018\:5e743\:670828\
\:65e5)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[558, 20, 832, 21, 85, "Input",ExpressionUUID->"fc713bd0-bdd1-47af-a095-42482e05f762"],
Cell[1393, 43, 743, 17, 85, "Input",ExpressionUUID->"e0af29f6-1a87-4bee-bc01-2fabe0f5f650"],
Cell[2139, 62, 1012, 22, 66, "Input",ExpressionUUID->"2a63592d-2fce-4e3b-b842-7f556151e89c"],
Cell[3154, 86, 8329, 181, 1131, "Input",ExpressionUUID->"e4d72a2d-fb4a-4b02-b1df-d764ca5ceb9a"]
}
]
*)

